(Man-hyphenated-reference-regexp): New variable.
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Mar 2001 13:42:06 +0000 (13:42 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Mar 2001 13:42:06 +0000 (13:42 +0000)
commitb7c79e3a5c3c851f1e35352429c93618dfb33234
tree89d41f7c19b3847dc6a92faff8c6d6d65f203ec6
parent2effa1efd06c5358bb6fc4dbba95ae80327c56d3
(Man-hyphenated-reference-regexp): New variable.
(Man-build-references-alist): Use it to search for referenced
manpages.  If hyphenated is non-nil, record a concatenated word in
Man-refpages-alist only if it matches Man-reference-regexp.
Update word's length when it is concatenated.  Reverse the list,
to get the first manpage at the head.
(Man-possibly-hyphenated-word): New function.
(Man-follow-manual-reference): Use it instead of current-word to
find a manpage at point, in a way that accounts for hyphenated
references.
lisp/man.el